a=float(input())
b=float(input())
total=a+b
difference=a-b
product=a*b
average=(a+b)/2
distance=abs(a-b)
minimum=min(a,b)
maximum=max(a,b)
print(f"{'Sum:':<12}{total:6.0f}")
print(f"{'Difference:':<12}{difference:6.0f}")
print(f"{'Product:':<12}{product:6.0f}")
print(f"{'Average:':<12}{average:9.2f}")
print(f"{'Distance:':<12}{distance:6.0f}")
print(f"{'Minimum:':<12}{minimum:6.0f}")
print(f"{'Maximum:':<12}{maximum:6.0f}")
